﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Extjs_ReGSharp.Criteria
{
	internal class GreaterThanCriteria<T> : BaseCriteria<T, int>
	{
		public GreaterThanCriteria(string field, int value) : base(field, value)
		{

		}

		protected override bool IsValid(int instanceValue)
		{
			return instanceValue > CriteriaValue;
		}
	}
}
